package com.quanyan.stadium.entity;

import com.quanyan.common.Plugin.Page;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbGameScheduleExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public TbGameScheduleExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andGameRoundIdIsNull() {
            addCriterion("game_round_id is null");
            return (Criteria) this;
        }

        public Criteria andGameRoundIdIsNotNull() {
            addCriterion("game_round_id is not null");
            return (Criteria) this;
        }

        public Criteria andGameRoundIdEqualTo(Integer value) {
            addCriterion("game_round_id =", value, "gameRoundId");
            return (Criteria) this;
        }

        public Criteria andGameRoundIdNotEqualTo(Integer value) {
            addCriterion("game_round_id <>", value, "gameRoundId");
            return (Criteria) this;
        }

        public Criteria andGameRoundIdGreaterThan(Integer value) {
            addCriterion("game_round_id >", value, "gameRoundId");
            return (Criteria) this;
        }

        public Criteria andGameRoundIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("game_round_id >=", value, "gameRoundId");
            return (Criteria) this;
        }

        public Criteria andGameRoundIdLessThan(Integer value) {
            addCriterion("game_round_id <", value, "gameRoundId");
            return (Criteria) this;
        }

        public Criteria andGameRoundIdLessThanOrEqualTo(Integer value) {
            addCriterion("game_round_id <=", value, "gameRoundId");
            return (Criteria) this;
        }

        public Criteria andGameRoundIdIn(List<Integer> values) {
            addCriterion("game_round_id in", values, "gameRoundId");
            return (Criteria) this;
        }

        public Criteria andGameRoundIdNotIn(List<Integer> values) {
            addCriterion("game_round_id not in", values, "gameRoundId");
            return (Criteria) this;
        }

        public Criteria andGameRoundIdBetween(Integer value1, Integer value2) {
            addCriterion("game_round_id between", value1, value2, "gameRoundId");
            return (Criteria) this;
        }

        public Criteria andGameRoundIdNotBetween(Integer value1, Integer value2) {
            addCriterion("game_round_id not between", value1, value2, "gameRoundId");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitIdIsNull() {
            addCriterion("place_unit_id is null");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitIdIsNotNull() {
            addCriterion("place_unit_id is not null");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitIdEqualTo(Integer value) {
            addCriterion("place_unit_id =", value, "placeUnitId");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitIdNotEqualTo(Integer value) {
            addCriterion("place_unit_id <>", value, "placeUnitId");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitIdGreaterThan(Integer value) {
            addCriterion("place_unit_id >", value, "placeUnitId");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("place_unit_id >=", value, "placeUnitId");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitIdLessThan(Integer value) {
            addCriterion("place_unit_id <", value, "placeUnitId");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitIdLessThanOrEqualTo(Integer value) {
            addCriterion("place_unit_id <=", value, "placeUnitId");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitIdIn(List<Integer> values) {
            addCriterion("place_unit_id in", values, "placeUnitId");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitIdNotIn(List<Integer> values) {
            addCriterion("place_unit_id not in", values, "placeUnitId");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitIdBetween(Integer value1, Integer value2) {
            addCriterion("place_unit_id between", value1, value2, "placeUnitId");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitIdNotBetween(Integer value1, Integer value2) {
            addCriterion("place_unit_id not between", value1, value2, "placeUnitId");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNull() {
            addCriterion("start_time is null");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNotNull() {
            addCriterion("start_time is not null");
            return (Criteria) this;
        }

        public Criteria andStartTimeEqualTo(Date value) {
            addCriterion("start_time =", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotEqualTo(Date value) {
            addCriterion("start_time <>", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThan(Date value) {
            addCriterion("start_time >", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("start_time >=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThan(Date value) {
            addCriterion("start_time <", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("start_time <=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIn(List<Date> values) {
            addCriterion("start_time in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotIn(List<Date> values) {
            addCriterion("start_time not in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(Date value1, Date value2) {
            addCriterion("start_time between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("start_time not between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNull() {
            addCriterion("end_time is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNotNull() {
            addCriterion("end_time is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeEqualTo(Date value) {
            addCriterion("end_time =", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotEqualTo(Date value) {
            addCriterion("end_time <>", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThan(Date value) {
            addCriterion("end_time >", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("end_time >=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThan(Date value) {
            addCriterion("end_time <", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("end_time <=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIn(List<Date> values) {
            addCriterion("end_time in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotIn(List<Date> values) {
            addCriterion("end_time not in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(Date value1, Date value2) {
            addCriterion("end_time between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("end_time not between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeIsNull() {
            addCriterion("single_time is null");
            return (Criteria) this;
        }

        public Criteria andSingleTimeIsNotNull() {
            addCriterion("single_time is not null");
            return (Criteria) this;
        }

        public Criteria andSingleTimeEqualTo(Integer value) {
            addCriterion("single_time =", value, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeNotEqualTo(Integer value) {
            addCriterion("single_time <>", value, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeGreaterThan(Integer value) {
            addCriterion("single_time >", value, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("single_time >=", value, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeLessThan(Integer value) {
            addCriterion("single_time <", value, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeLessThanOrEqualTo(Integer value) {
            addCriterion("single_time <=", value, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeIn(List<Integer> values) {
            addCriterion("single_time in", values, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeNotIn(List<Integer> values) {
            addCriterion("single_time not in", values, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeBetween(Integer value1, Integer value2) {
            addCriterion("single_time between", value1, value2, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("single_time not between", value1, value2, "singleTime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andFinalScoreIsNull() {
            addCriterion("final_score is null");
            return (Criteria) this;
        }

        public Criteria andFinalScoreIsNotNull() {
            addCriterion("final_score is not null");
            return (Criteria) this;
        }

        public Criteria andFinalScoreEqualTo(String value) {
            addCriterion("final_score =", value, "finalScore");
            return (Criteria) this;
        }

        public Criteria andFinalScoreNotEqualTo(String value) {
            addCriterion("final_score <>", value, "finalScore");
            return (Criteria) this;
        }

        public Criteria andFinalScoreGreaterThan(String value) {
            addCriterion("final_score >", value, "finalScore");
            return (Criteria) this;
        }

        public Criteria andFinalScoreGreaterThanOrEqualTo(String value) {
            addCriterion("final_score >=", value, "finalScore");
            return (Criteria) this;
        }

        public Criteria andFinalScoreLessThan(String value) {
            addCriterion("final_score <", value, "finalScore");
            return (Criteria) this;
        }

        public Criteria andFinalScoreLessThanOrEqualTo(String value) {
            addCriterion("final_score <=", value, "finalScore");
            return (Criteria) this;
        }

        public Criteria andFinalScoreLike(String value) {
            addCriterion("final_score like", value, "finalScore");
            return (Criteria) this;
        }

        public Criteria andFinalScoreNotLike(String value) {
            addCriterion("final_score not like", value, "finalScore");
            return (Criteria) this;
        }

        public Criteria andFinalScoreIn(List<String> values) {
            addCriterion("final_score in", values, "finalScore");
            return (Criteria) this;
        }

        public Criteria andFinalScoreNotIn(List<String> values) {
            addCriterion("final_score not in", values, "finalScore");
            return (Criteria) this;
        }

        public Criteria andFinalScoreBetween(String value1, String value2) {
            addCriterion("final_score between", value1, value2, "finalScore");
            return (Criteria) this;
        }

        public Criteria andFinalScoreNotBetween(String value1, String value2) {
            addCriterion("final_score not between", value1, value2, "finalScore");
            return (Criteria) this;
        }

        public Criteria andIsWinIsNull() {
            addCriterion("is_win is null");
            return (Criteria) this;
        }

        public Criteria andIsWinIsNotNull() {
            addCriterion("is_win is not null");
            return (Criteria) this;
        }

        public Criteria andIsWinEqualTo(Byte value) {
            addCriterion("is_win =", value, "isWin");
            return (Criteria) this;
        }

        public Criteria andIsWinNotEqualTo(Byte value) {
            addCriterion("is_win <>", value, "isWin");
            return (Criteria) this;
        }

        public Criteria andIsWinGreaterThan(Byte value) {
            addCriterion("is_win >", value, "isWin");
            return (Criteria) this;
        }

        public Criteria andIsWinGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_win >=", value, "isWin");
            return (Criteria) this;
        }

        public Criteria andIsWinLessThan(Byte value) {
            addCriterion("is_win <", value, "isWin");
            return (Criteria) this;
        }

        public Criteria andIsWinLessThanOrEqualTo(Byte value) {
            addCriterion("is_win <=", value, "isWin");
            return (Criteria) this;
        }

        public Criteria andIsWinIn(List<Byte> values) {
            addCriterion("is_win in", values, "isWin");
            return (Criteria) this;
        }

        public Criteria andIsWinNotIn(List<Byte> values) {
            addCriterion("is_win not in", values, "isWin");
            return (Criteria) this;
        }

        public Criteria andIsWinBetween(Byte value1, Byte value2) {
            addCriterion("is_win between", value1, value2, "isWin");
            return (Criteria) this;
        }

        public Criteria andIsWinNotBetween(Byte value1, Byte value2) {
            addCriterion("is_win not between", value1, value2, "isWin");
            return (Criteria) this;
        }

        public Criteria andIsEndIsNull() {
            addCriterion("is_end is null");
            return (Criteria) this;
        }

        public Criteria andIsEndIsNotNull() {
            addCriterion("is_end is not null");
            return (Criteria) this;
        }

        public Criteria andIsEndEqualTo(Byte value) {
            addCriterion("is_end =", value, "isEnd");
            return (Criteria) this;
        }

        public Criteria andIsEndNotEqualTo(Byte value) {
            addCriterion("is_end <>", value, "isEnd");
            return (Criteria) this;
        }

        public Criteria andIsEndGreaterThan(Byte value) {
            addCriterion("is_end >", value, "isEnd");
            return (Criteria) this;
        }

        public Criteria andIsEndGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_end >=", value, "isEnd");
            return (Criteria) this;
        }

        public Criteria andIsEndLessThan(Byte value) {
            addCriterion("is_end <", value, "isEnd");
            return (Criteria) this;
        }

        public Criteria andIsEndLessThanOrEqualTo(Byte value) {
            addCriterion("is_end <=", value, "isEnd");
            return (Criteria) this;
        }

        public Criteria andIsEndIn(List<Byte> values) {
            addCriterion("is_end in", values, "isEnd");
            return (Criteria) this;
        }

        public Criteria andIsEndNotIn(List<Byte> values) {
            addCriterion("is_end not in", values, "isEnd");
            return (Criteria) this;
        }

        public Criteria andIsEndBetween(Byte value1, Byte value2) {
            addCriterion("is_end between", value1, value2, "isEnd");
            return (Criteria) this;
        }

        public Criteria andIsEndNotBetween(Byte value1, Byte value2) {
            addCriterion("is_end not between", value1, value2, "isEnd");
            return (Criteria) this;
        }

        public Criteria andGroupTypeIsNull() {
            addCriterion("group_type is null");
            return (Criteria) this;
        }

        public Criteria andGroupTypeIsNotNull() {
            addCriterion("group_type is not null");
            return (Criteria) this;
        }

        public Criteria andGroupTypeEqualTo(Byte value) {
            addCriterion("group_type =", value, "groupType");
            return (Criteria) this;
        }

        public Criteria andGroupTypeNotEqualTo(Byte value) {
            addCriterion("group_type <>", value, "groupType");
            return (Criteria) this;
        }

        public Criteria andGroupTypeGreaterThan(Byte value) {
            addCriterion("group_type >", value, "groupType");
            return (Criteria) this;
        }

        public Criteria andGroupTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("group_type >=", value, "groupType");
            return (Criteria) this;
        }

        public Criteria andGroupTypeLessThan(Byte value) {
            addCriterion("group_type <", value, "groupType");
            return (Criteria) this;
        }

        public Criteria andGroupTypeLessThanOrEqualTo(Byte value) {
            addCriterion("group_type <=", value, "groupType");
            return (Criteria) this;
        }

        public Criteria andGroupTypeIn(List<Byte> values) {
            addCriterion("group_type in", values, "groupType");
            return (Criteria) this;
        }

        public Criteria andGroupTypeNotIn(List<Byte> values) {
            addCriterion("group_type not in", values, "groupType");
            return (Criteria) this;
        }

        public Criteria andGroupTypeBetween(Byte value1, Byte value2) {
            addCriterion("group_type between", value1, value2, "groupType");
            return (Criteria) this;
        }

        public Criteria andGroupTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("group_type not between", value1, value2, "groupType");
            return (Criteria) this;
        }

        public Criteria andTeamMatchIndexIsNull() {
            addCriterion("team_match_index is null");
            return (Criteria) this;
        }

        public Criteria andTeamMatchIndexIsNotNull() {
            addCriterion("team_match_index is not null");
            return (Criteria) this;
        }

        public Criteria andTeamMatchIndexEqualTo(String value) {
            addCriterion("team_match_index =", value, "teamMatchIndex");
            return (Criteria) this;
        }

        public Criteria andTeamMatchIndexNotEqualTo(String value) {
            addCriterion("team_match_index <>", value, "teamMatchIndex");
            return (Criteria) this;
        }

        public Criteria andTeamMatchIndexGreaterThan(String value) {
            addCriterion("team_match_index >", value, "teamMatchIndex");
            return (Criteria) this;
        }

        public Criteria andTeamMatchIndexGreaterThanOrEqualTo(String value) {
            addCriterion("team_match_index >=", value, "teamMatchIndex");
            return (Criteria) this;
        }

        public Criteria andTeamMatchIndexLessThan(String value) {
            addCriterion("team_match_index <", value, "teamMatchIndex");
            return (Criteria) this;
        }

        public Criteria andTeamMatchIndexLessThanOrEqualTo(String value) {
            addCriterion("team_match_index <=", value, "teamMatchIndex");
            return (Criteria) this;
        }

        public Criteria andTeamMatchIndexLike(String value) {
            addCriterion("team_match_index like", value, "teamMatchIndex");
            return (Criteria) this;
        }

        public Criteria andTeamMatchIndexNotLike(String value) {
            addCriterion("team_match_index not like", value, "teamMatchIndex");
            return (Criteria) this;
        }

        public Criteria andTeamMatchIndexIn(List<String> values) {
            addCriterion("team_match_index in", values, "teamMatchIndex");
            return (Criteria) this;
        }

        public Criteria andTeamMatchIndexNotIn(List<String> values) {
            addCriterion("team_match_index not in", values, "teamMatchIndex");
            return (Criteria) this;
        }

        public Criteria andTeamMatchIndexBetween(String value1, String value2) {
            addCriterion("team_match_index between", value1, value2, "teamMatchIndex");
            return (Criteria) this;
        }

        public Criteria andTeamMatchIndexNotBetween(String value1, String value2) {
            addCriterion("team_match_index not between", value1, value2, "teamMatchIndex");
            return (Criteria) this;
        }

        public Criteria andTeamListIndexIsNull() {
            addCriterion("team_list_index is null");
            return (Criteria) this;
        }

        public Criteria andTeamListIndexIsNotNull() {
            addCriterion("team_list_index is not null");
            return (Criteria) this;
        }

        public Criteria andTeamListIndexEqualTo(String value) {
            addCriterion("team_list_index =", value, "teamListIndex");
            return (Criteria) this;
        }

        public Criteria andTeamListIndexNotEqualTo(String value) {
            addCriterion("team_list_index <>", value, "teamListIndex");
            return (Criteria) this;
        }

        public Criteria andTeamListIndexGreaterThan(String value) {
            addCriterion("team_list_index >", value, "teamListIndex");
            return (Criteria) this;
        }

        public Criteria andTeamListIndexGreaterThanOrEqualTo(String value) {
            addCriterion("team_list_index >=", value, "teamListIndex");
            return (Criteria) this;
        }

        public Criteria andTeamListIndexLessThan(String value) {
            addCriterion("team_list_index <", value, "teamListIndex");
            return (Criteria) this;
        }

        public Criteria andTeamListIndexLessThanOrEqualTo(String value) {
            addCriterion("team_list_index <=", value, "teamListIndex");
            return (Criteria) this;
        }

        public Criteria andTeamListIndexLike(String value) {
            addCriterion("team_list_index like", value, "teamListIndex");
            return (Criteria) this;
        }

        public Criteria andTeamListIndexNotLike(String value) {
            addCriterion("team_list_index not like", value, "teamListIndex");
            return (Criteria) this;
        }

        public Criteria andTeamListIndexIn(List<String> values) {
            addCriterion("team_list_index in", values, "teamListIndex");
            return (Criteria) this;
        }

        public Criteria andTeamListIndexNotIn(List<String> values) {
            addCriterion("team_list_index not in", values, "teamListIndex");
            return (Criteria) this;
        }

        public Criteria andTeamListIndexBetween(String value1, String value2) {
            addCriterion("team_list_index between", value1, value2, "teamListIndex");
            return (Criteria) this;
        }

        public Criteria andTeamListIndexNotBetween(String value1, String value2) {
            addCriterion("team_list_index not between", value1, value2, "teamListIndex");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andLastTeamListIndexIsNull() {
            addCriterion("last_team_list_index is null");
            return (Criteria) this;
        }

        public Criteria andLastTeamListIndexIsNotNull() {
            addCriterion("last_team_list_index is not null");
            return (Criteria) this;
        }

        public Criteria andLastTeamListIndexEqualTo(String value) {
            addCriterion("last_team_list_index =", value, "lastTeamListIndex");
            return (Criteria) this;
        }

        public Criteria andLastTeamListIndexNotEqualTo(String value) {
            addCriterion("last_team_list_index <>", value, "lastTeamListIndex");
            return (Criteria) this;
        }

        public Criteria andLastTeamListIndexGreaterThan(String value) {
            addCriterion("last_team_list_index >", value, "lastTeamListIndex");
            return (Criteria) this;
        }

        public Criteria andLastTeamListIndexGreaterThanOrEqualTo(String value) {
            addCriterion("last_team_list_index >=", value, "lastTeamListIndex");
            return (Criteria) this;
        }

        public Criteria andLastTeamListIndexLessThan(String value) {
            addCriterion("last_team_list_index <", value, "lastTeamListIndex");
            return (Criteria) this;
        }

        public Criteria andLastTeamListIndexLessThanOrEqualTo(String value) {
            addCriterion("last_team_list_index <=", value, "lastTeamListIndex");
            return (Criteria) this;
        }

        public Criteria andLastTeamListIndexLike(String value) {
            addCriterion("last_team_list_index like", value, "lastTeamListIndex");
            return (Criteria) this;
        }

        public Criteria andLastTeamListIndexNotLike(String value) {
            addCriterion("last_team_list_index not like", value, "lastTeamListIndex");
            return (Criteria) this;
        }

        public Criteria andLastTeamListIndexIn(List<String> values) {
            addCriterion("last_team_list_index in", values, "lastTeamListIndex");
            return (Criteria) this;
        }

        public Criteria andLastTeamListIndexNotIn(List<String> values) {
            addCriterion("last_team_list_index not in", values, "lastTeamListIndex");
            return (Criteria) this;
        }

        public Criteria andLastTeamListIndexBetween(String value1, String value2) {
            addCriterion("last_team_list_index between", value1, value2, "lastTeamListIndex");
            return (Criteria) this;
        }

        public Criteria andLastTeamListIndexNotBetween(String value1, String value2) {
            addCriterion("last_team_list_index not between", value1, value2, "lastTeamListIndex");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}